import request from '@/utils/request'
const apix = 'dev-api'
// api地址
const api = {
	getInfo: apix + '/getInfo',
	systemUser: apix + '/system/user/profile',

}
/**
 * 获取用户信息
 */
export function getInfo() {
	return request.get(api.getInfo, {}, {
		isPrompt: false
	})
}
export function systemUser(obj) {
	return request.put(api.systemUser, {
		...obj
	}, {
		isPrompt: false
	})
}